<!DOCTYPE html>
<html lang="en" xmlns:v-bind="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>5.6 v-bind</title>
</head>
<body>
    <div id="app" v-bind:title="title" style="background-color: lavender;width: 150px;height: 150px">

    </div>


    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
    <script type="text/javascript">
        var app = new Vue({
            el:"#app",
            data:{
                title:"这是title"
            }
        });

    </script>
</body>
</html>